package com.liuqm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 商品规格参数
 * </p>
 *
 * @author liuqm
 * @since 2024-09-04
 */
@TableName("czkt_product_spec")
public class CzktProductSpec implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "spec_id", type = IdType.AUTO)
      private Integer specId;

      /**
     * 属性名称
     */
      private String attrName;

      /**
     * 所属商品
     */
      private Integer spuId;

      /**
     * 父id
     */
      private Integer parentId;
    
    public Integer getSpecId() {
        return specId;
    }

      public void setSpecId(Integer specId) {
          this.specId = specId;
      }
    
    public String getAttrName() {
        return attrName;
    }

      public void setAttrName(String attrName) {
          this.attrName = attrName;
      }
    
    public Integer getSpuId() {
        return spuId;
    }

      public void setSpuId(Integer spuId) {
          this.spuId = spuId;
      }
    
    public Integer getParentId() {
        return parentId;
    }

      public void setParentId(Integer parentId) {
          this.parentId = parentId;
      }

    @Override
    public String toString() {
        return "CzktProductSpec{" +
              ", specId = " + specId +
                  ", attrName = " + attrName +
                  ", spuId = " + spuId +
                  ", parentId = " + parentId +
              "}";
    }
}
